from django.urls import path
from . import views

app_name = 'rules'

urlpatterns = [
    path('', views.RuleListView.as_view(), name='list'),
    path('<int:pk>/', views.RuleDetailView.as_view(), name='detail'),
    path('submit/', views.RuleSubmitView.as_view(), name='submit'),
    path('submit-success/', views.submit_success_view, name='submit_success'),
    path('copy/<int:pk>/', views.copy_rule_content, name='copy_content'),
    path('record-md-view/<int:pk>/', views.record_md_view, name='record_md_view'),
    path('download/<int:pk>/', views.download_rule_md, name='download_md'),
    path('get-url/<int:pk>/', views.get_rule_url, name='get_url'),
] 